package com.taotao.dao;

import com.taotao.model.Item;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Item record);

    int insertSelective(Item record);

    Item selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Item record);

    int updateByPrimaryKey(Item record);

    @Select("select * from tb_item")
    List<Item> listItems();
}